/*清除浮动*/
.clearfix:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
}

/*版心*/
.container {
    width: 1200px;
    margin: 0 auto;
}

// 页面底色
body {
    background-color: #F6F6F6;
}

/*顶部*/
#header {
    height: 160px;
    background-color: white;

    .logo {
        float: left;
        width: 225px;
        height: 75px;
        margin-top: 50px;
        margin-left: 20px;

        img {
            float: left;
            width: 75px;
            height: 75px;
            vertical-align: middle;
        }

        .pagename {
            width: 135px;
            float: left;
            margin-left: 15px;
            text-align: center;
            margin-top: 6px;

            h1 {
                font-size: 28px;
                font-weight: bold;
                line-height: 40px;
            }

            .pinyin {
                display: inline-block;
                font-size: 12px;
                line-height: 17px;
                transform: scale(.8);
                // margin-left: -14px;
            }
        }
    }

    form {
        float: left;
        width: 532px;
        height: 48px;
        margin-top: 50px;
        margin-left: 110px;
        position: relative;

        .searchDiv {
            width: 532px;
            height: 44px;
            background: url(../static/images/search.png) no-repeat center left 15px/20px 20px;
            border: 3px solid #000;
            border-radius: 24px;
        }

        input {
            width: 355px;
            height: 42px;
            font-size: 16px;
            border: 0 solid #000;
            position: absolute;
            top: 3px;
            left: 50px;

            &:focus {
                outline: 0 solid #000;
                background: none;
            }
        }

        .sbtn {
            width: 124px;
            height: 40px;
            font-size: 14px;
            line-height: 40px;
            text-align: center;
            border-radius: 20px;
            background-color: #FEE44E;
            position: absolute;
            top: 5px;
            right: -2px;
            cursor: pointer;
        }
    }

    .promise {
        float: right;
        width: 268px;

        .promiseItem {
            float: left;
            font-size: 12px;
            line-height: 18px;
            margin-right: 25px;
            margin-top: 43px;

            img {
                width: 40px;
                height: 40px;
            }
        }
    }
}

/*导航栏*/
#nav {
    height: 46px;
    background-color: #43240C;

    ul {
        float: left;
    }

    ul li {
        width: 166px;
        height: 46px;
        float: left;
        line-height: 46px;
        text-align: center;
        cursor: pointer;
        cursor: hander;

        a {
            color: white;
            font-size: 16px;
        }

        &:hover {
            background-color: #FEE44E;

            a {
                color: black;
            }
        }
    }

    ul li:first-child {
        width: 220px;
    }

    .active {
        background-color: #FEE44E;

        a {
            color: black;
        }
    }

    .toCar {
        width: 150px;
        height: 40px;
        float: right;
        line-height: 40px;
        text-align: center;
        cursor: pointer;
        cursor: hander;
        border: 2px solid orangered;
        background-color: orangered;
        border-radius: 5px;
        margin-top: 1px;

        a {
            color: white;
        }

    }
}



/*返回顶部*/
#backTop {
    width: 60px;
    height: 60px;
    position: fixed;
    top: 50%;
    right: 50px;
    cursor: pointer;
    display: none;

    img {
        width: 60px;
        height: 60px;
    }
}

/*分类*/
#classify {
    h1 {
        height: 50px;
        background-color: #fef9dd;
        font-size: 24px;
        font-weight: bold;
        line-height: 50px;
        padding-left: 20px;
    }

    .className {
        height: 50px;
        background-color: white;
        margin: 10px 0 20px 0;

        li {
            float: left;
            line-height: 50px;
            font-size: 18px;
            padding: 0 15px 0 15px;
            cursor: pointer;
        }

        .nineOn {
            border-bottom: 3px solid #000;
        }
    }
}

/*商品列表*/
#goodSelect {
    // height: 100px;
    background-color: #F6F6F6;

    .productsShow {
        width: 1168px;
        // height: 2075px;
        margin: auto;

        ul {
            width: 1168px;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;

            li {
                width: 276px;
                height: 389px;
                background-color: white;
                margin-top: 20px;
                cursor: pointer;

                img {
                    width: 276px;
                    height: 276px;
                }

                .introduce {
                    width: 242px;
                    margin: 10px 17px;
                }

                .detailDesc {
                    font-size: 14px;
                    line-height: 18px;
                    color: #877a73;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
            }

            .platform {
                height: 20px;
                margin-top: 15px;

                .taobao {
                    display: inline-block;
                    font-size: 14px;
                    width: 40px;
                    height: 20px;
                    line-height: 20px;
                    text-align: center;
                    background-color: #f40;
                    color: white;
                    border-radius: 2px;
                }

                .largeCoupon {
                    display: inline-block;
                    width: 50px;
                    height: 20px;
                    font-size: 14px;
                    color: #ff9000;
                    border: 1px solid #ff9000;
                    line-height: 20px;
                    text-align: center;
                    margin-left: 5px;
                    border-radius: 2px;
                }

                .ship {
                    font-size: 14px;
                    color: #877a73;
                    line-height: 20px;
                    display: inline-block;
                    float: right;
                    width: 50px;
                    text-align: center;
                }
            }

            .price {
                height: 28px;
                margin-top: 14px;
                vertical-align: bottom;
                font-size: 28px;
                color: red;

                .RMB {
                    font-size: 12px;
                    color: red;
                }

                .toFloat {
                    font-size: 18px;
                    -ms-hyphenate-limit-chars: 20px;
                }

                .peopleNum {
                    font-size: 14px;
                    color: #877a73;
                }

                .coupon {
                    width: 54px;
                    height: 20px;
                    border: 1px solid #fa585a;
                    color: #fa585a;
                    font-size: 14px;
                    text-align: center;
                    line-height: 20px;
                    display: inline-block;
                    float: right;
                    margin-top: 4px;
                }

            }

        }
    }

    .searchContainer {
        height: 2900px;
    }

    .priceArrage {
        height: 45px;
        background-color: white;
        font-size: 14px;
        color: #43240c;
        // line-height: 60px;
        padding-top: 15px;
        padding-left: 20px;
        margin-top: 15px;

        span {
            border: 1px solid lightgray;
            border-radius: 2px;
            display: inline-block;
            width: 50px;
            height: 20px;
            line-height: 20px;
            text-align: center;
            margin-left: 10px;
            cursor: pointer;

            &:hover {
                color: red;
                border: 1px solid red;
            }
        }

        input {
            width: 50px;
            height: 20px;
            text-align: centers;
            border: 1px solid gray;
            border-radius: 5px;

            &:nth-child(5) {
                margin-left: 30px;
            }

            &:nth-child(7) {
                width: 12px;
                height: 12px;
                margin-left: 10px;
            }
        }

        button {
            font-size: 12px;
            height: 20px;
            width: 44px;
            margin-left: 10px;
            border-radius: 3px;
            cursor: pointer;

            &:nth-child(8) {
                background-color: red;
                color: white;
                border: 1px solid lightgray;
            }
        }

    }

    .classifyProduct {
        height: 50px;
        background-color: white;
        margin-top: 10px;
        font-size: 18px;
        line-height: 50px;
        padding-left: 20px;

        ol li {
            float: left;
            margin-right: 30px;
            cursor: pointer;
        }

        .on {
            color: red;
            border-bottom: 2px solid red;
        }
    }
}


/*查看更多*/
#seeMore {

    width: 250px;
    height: 70px;
    font-size: 24px;
    background-color: #fee44e;
    border-radius: 35px;
    color: #43240c;
    text-align: center;
    line-height: 70px;
    margin: 126px auto 80px;
    cursor: pointer;


}

/*页脚*/
#footer {
    height: 240px;
    background-color: #484848;
    color: white;

    .logoApp {
        img {
            width: 112px;
            height: 112px;
            float: left;
            margin: 37px 20px 0 40px;
        }

        .fontDesc {
            float: left;
            margin-top: 45px;

            h2 {
                font-size: 36px;
                font-weight: bold;
                line-height: 45px;
            }

            p {
                font-size: 18px;
                line-height: 25px;
                margin-left: 10px;
            }
        }

        a {
            font-size: 20px;
            color: white;
            display: inline-block;
            margin: 87px 0 0 190px;
        }
    }

    .copyReg {
        font-size: 18px;
        text-align: center;
        margin-top: 60px;

        img {
            width: 22px;
            height: 22px;
        }
    }
}

/*全国安全可信网站*/
#safe {
    height: 80px;

    a {
        width: 83px;
        height: 30px;
        display: block;
        margin: 5px auto;

        img {
            width: 83px;
            height: 30px;

        }
    }
}